package com.jy.service;

import com.jy.common.enums.ResponseWrapper;
import com.jy.common.model.user.param.TakeCardReleaseParam;
import com.jy.entity.CardHistory;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 打卡记录表 服务类
 * </p>
 *
 * @author fzg
 * @since 2025-01-08
 */
public interface CardHistoryService extends IService<CardHistory> {

    ResponseWrapper takeCardRelease(HttpServletRequest request, TakeCardReleaseParam params);

    ResponseWrapper getCardHistoryAllInfo(Integer currentLoginUserAid, Integer userAid);

    ResponseWrapper getAllRankInfo(Integer userAidByToken);
}
